﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WarOfDev.Core.ExceptionHandling.ExceptionCodes
{
    public static class ErrorCodes
    {
        public static class Frontend
        {
            public static readonly ErrorCode WOD_UNKNOWN = new ErrorCode(10000, "Unknown error . Error Code 10000", () => "Unknown error");

            public static readonly ErrorCode WOD_UNAUTHORIZED_NO_RIGHTS = new ErrorCode(10101, "Unauthorized error, does not have the right. Error Code 10101", () => "no rights");

            public static readonly ErrorCode WOD_SESSION_TIMEOUT = new ErrorCode(10201, "Session timeout error. Error Code 10201 ", () => "Session timeout");

            public static readonly ErrorCode WOD_NEED_LOGIN = new ErrorCode(10301, "Need to Login. Error Code 10301 ", () => "Login");

        }
    }
}
